package com.bawei.system.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Author：liurui
 * @Package：com.bawei.system.domain.vo
 * @Project：mall_cloud
 * @name：EsproductInfoVo
 */
@ApiModel(description = "es首页展示实体类")
@Data
public class EsproductInfoVo {
    /**
     * skuid
     */
    @ApiModelProperty(value = "skuid", position = 1)
    private Long skuId;
    /**
     * 商品表id
     */
    @ApiModelProperty(value = "商品表id", position = 1)
    private Long spuId;
    /**
     * 商品表名称
     */
    @ApiModelProperty(value = "商品表名称", position = 2)
    private String name;
    /**
     * 关键字
     */
    @ApiModelProperty(value = "关键字", position = 2)
    private String keyWords;
    /**
     * 商品标题、描述、关键字
     */
    @ApiModelProperty(value = "商品标题、描述、关键字", position = 2)
    private List<String> titleSuggest;
    /**
     * sku信息
     */
    @ApiModelProperty(value = "sku信息", position = 2)
    private String sku;
    /**
     * 商品库存
     */
    @ApiModelProperty(value = "商品库存", position = 3)
    private Long stock;
    /**
     * 商品价格
     */
    @ApiModelProperty(value = "商品价格", position = 4)
    private BigDecimal price;
    /**
     * 进价
     */
    @ApiModelProperty(value = "进价", position = 5)
    private BigDecimal purchasePrice;
    /**
     * 售价
     */
    @ApiModelProperty(value = "售价", position = 6)
    private BigDecimal sellingPrice;
    /**
     * 完成商品图片集的保存与查询
     */
    @ApiModelProperty(value = "完成商品图片集的保存与查询", position = 7)
    private String image;
    /**
     * 编号
     */
    @ApiModelProperty(value = "编号", position = 8)
    private String number;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", position = 8)
    private Date createTime;
    /**
     * 重量
     */
    @ApiModelProperty(value = "重量", position = 9)
    private BigDecimal weight;
    /**
     * 体积
     */
    @ApiModelProperty(value = "体积", position = 10)
    private BigDecimal volume;
    /**
     * 乐观锁
     */
    @ApiModelProperty(value = "乐观锁", position = 11)
    private Long revision;
    /**
     * 完成相关字典值的转换
     */
    @ApiModelProperty(value = "完成相关字典值的转换", position = 12)
    private String upstates;

}
